Notice that the code requires some command-line arguments, so use them.

Some important notes, the images it will read into the CNN are categorized by the subfolder they are in.
So images should be placed into subfolder with the name of their label. For example, cats should go into
a folder named cat and dogs should go into a folder named dog, and the parent folder of these subfolders
should be the directory you pass to the command line of the console application.

Depending on the type of images, the CNN may need to be adjusted to use different filters a.k.a. kernels.